//
//  AnimationViewModel.h
//  DebugDemo
//
//  Created by XFB on 2019/1/7.
//  Copyright © 2019年 ZhouCheng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Animation.h"

@class AnimationViewModel;

typedef void(^ChangeAniamtionBlock)(AnimationViewModel *viewModel);

NS_ASSUME_NONNULL_BEGIN

@interface AnimationViewModel : NSObject

@property (nonatomic, strong) Animation *animation;
@property (nonatomic, copy) NSString *greeting;
@property (nonatomic, copy) ChangeAniamtionBlock changeBlock;

- (instancetype)initWithAnimation:(Animation *)animation;
- (void)showGreeting;

@end

NS_ASSUME_NONNULL_END
